package leader.action;

import leader.service.DirectAwardService;
import teacher.bean.Award;

public class DirectAwardCancelcheckAction {
	private Award award;

	public Award getAward() {
		return award;
	}

	public void setAward(Award award) {
		this.award = award;
	}
	public String execute() {
		award.setState(0);
		DirectAwardService AS = new DirectAwardService();
		AS.updateAwardState(award);
		return "success";
	}
}
